Imports System
Imports System.ComponentModel
Imports System.ComponentModel.Design
Imports System.Collections
Imports System.Drawing
Imports System.Reflection
Imports System.Workflow.ComponentModel.Compiler
Imports System.Workflow.ComponentModel.Serialization
Imports System.Workflow.ComponentModel
Imports System.Workflow.ComponentModel.Design
Imports System.Workflow.Runtime
Imports System.Workflow.Activities
Imports System.Workflow.Activities.Rules

Namespace $DefaultNamespace$
    Partial Class $rootname$
#Region "Designer generated code"

        ''' <summary> 
        ''' Required method for Designer support - do not modify 
        ''' the contents of this method with the code editor.
        ''' </summary>
        <System.Diagnostics.DebuggerNonUserCode()> _
        Private Sub InitializeComponent()
            Me.CanModifyActivities = True
            Dim correlationtoken1 As New System.Workflow.Runtime.CorrelationToken()
            Dim activitybind1 As New System.Workflow.ComponentModel.ActivityBind()
            Me.onWorkflowActivated1 = New Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated()
            Me.eventDrivenActivity1 = New System.Workflow.Activities.EventDrivenActivity()
            Me.Workflow1InitialState = New System.Workflow.Activities.StateActivity()
            ' 
            ' onWorkflowActivated1
            ' 
            correlationtoken1.Name = "workflowToken"
            correlationtoken1.OwnerActivityName = "$rootname$"
            Me.onWorkflowActivated1.CorrelationToken = correlationtoken1
            Me.onWorkflowActivated1.EventName = "OnWorkflowActivated"
            Me.onWorkflowActivated1.Name = "onWorkflowActivated1"
            Me.onWorkflowActivated1.WorkflowId = New System.Guid("00000000-0000-0000-0000-000000000000")
            activitybind1.Name = "$rootname$"
            activitybind1.Path = "workflowProperties"
            Me.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, (DirectCast((activitybind1), System.Workflow.ComponentModel.ActivityBind)))
            ' 
            ' eventDrivenActivity1
            ' 
            Me.eventDrivenActivity1.Activities.Add(Me.onWorkflowActivated1)
            Me.eventDrivenActivity1.Name = "eventDrivenActivity1"
            ' 
            ' Workflow1InitialState
            ' 
            Me.Workflow1InitialState.Activities.Add(Me.eventDrivenActivity1)
            Me.Workflow1InitialState.Name = "$rootname$InitialState"
            ' 
            ' Workflow1
            ' 
            Me.Activities.Add(Me.Workflow1InitialState)
            Me.CompletedStateName = Nothing
            Me.DynamicUpdateCondition = Nothing
            Me.InitialStateName = "$rootname$InitialState"
            Me.Name = "$rootname$"
            Me.CanModifyActivities = False

        End Sub
#End Region

        Private eventDrivenActivity1 As EventDrivenActivity
        Private onWorkflowActivated1 As Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated
        Private Workflow1InitialState As StateActivity




    End Class
End Namespace

using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace $DefaultNamespace$
{
    partial class $rootname$
    {
		#region Designer generated code
        
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            this.eventDrivenActivity1 = new System.Workflow.Activities.EventDrivenActivity();
            this.Workflow1InitialState = new System.Workflow.Activities.StateActivity();
            // 
            // onWorkflowActivated1
            // 
            correlationtoken1.Name = "workflowToken";
            correlationtoken1.OwnerActivityName = "$rootname$";
            this.onWorkflowActivated1.CorrelationToken = correlationtoken1;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            this.onWorkflowActivated1.WorkflowId = new System.Guid("00000000-0000-0000-0000-000000000000");
            activitybind1.Name = "$rootname$";
            activitybind1.Path = "workflowProperties";
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // eventDrivenActivity1
            // 
            this.eventDrivenActivity1.Activities.Add(this.onWorkflowActivated1);
            this.eventDrivenActivity1.Name = "eventDrivenActivity1";
            // 
            // Workflow1InitialState
            // 
            this.Workflow1InitialState.Activities.Add(this.eventDrivenActivity1);
            this.Workflow1InitialState.Name = "$rootname$InitialState";
            // 
            // Workflow1
            // 
            this.Activities.Add(this.Workflow1InitialState);
            this.CompletedStateName = null;
            this.DynamicUpdateCondition = null;
            this.InitialStateName = "$rootname$InitialState";
            this.Name = "$rootname$";
            this.CanModifyActivities = false;

        }

        #endregion

        private EventDrivenActivity eventDrivenActivity1;
        private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1;
        private StateActivity Workflow1InitialState;




    }
}
